CFLAGS = -g -Wall -lm
LIBS = 
CXX=g++

.PHONY:all

CPPSRCS = $(wildcard *.cpp)
CPPBIN = $(patsubst %.cpp, %, $(CPPSRCS))

all: $(CBIN) $(CPPBIN)

.cpp:
	-$(CXX) $^ $(CFLAGS) $(LIBS) -o $@ 

clean:
	rm -f $(CPPBIN)

